package cn.enilu.guns.bean.entity.door;


import lombok.Data;
import cn.enilu.guns.bean.entity.BaseEntity;
import org.hibernate.annotations.Table;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;

@Entity(name="T_CARD_INFO")
@Table(appliesTo = "t_card_info",comment = "卡信息")
@Data
@EntityListeners(AuditingEntityListener.class)
public class CardInfo extends BaseEntity {

	/**
	 * 
	 */
	@Column(columnDefinition = " INT(10) COMMENT ''")
	private Integer version;

	/**
	 * 卡号
	 */
	@Column(columnDefinition = " VARCHAR(32) COMMENT '卡号'")
	private String cardNo;


}
